/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Factory;

import Factory.DAO.MySQL.*;
import Factory.DAO.*;

/**
 *
 * @author Patrick
 */
public class MySQLDAOFactory extends DAOFactory {

    @Override
    public MovieDAO createMovieDAO() {
        return new MySQLMovieDAO();
    }

    @Override
    public UserDAO createUserDAO() {
        return new MySQLUserDAO();
    }

    @Override
    public CategoryDAO createCategoryDAO() {
        return new MySQLCategoryDAO();
    }

    @Override
    public UserDefDAO createUserDefDAO() {
        return new MySQLUserDefDAO();
    }

    @Override
    public InventoryDAO createInventoryDAO() {
        return new MySQLInventoryDAO();
    }

    @Override
    public TransactionDAO createTransactionDAO() {
        return new MySQLTransactionDAO();
    }

    @Override
    public CartDAO createCartDAO() {
        return new MySQLCartDAO();
    }

    @Override
    public LogDAO createLogDAO() {
        return new MySQLLogDAO();
    }

    @Override
    public LogDefDAO createLogDefDAO() {
        return new MySQLLogDefDAO();
    }
    
}
